package com.surelution.cppei.weixin.gate

class GasCardBindingController {

    def list() {
		def subscriber //TODO how to get subscriber
		
		def cards = SubscriberGascard.findAllBySubscriber(subscriber)
		def verifyCode = VerifyCode.generate("${subscriber.id}", this.class.name, 60)
		[cards:cards, verifyCode:verifyCode]
	}

	def delCard() {
		
	}

	def addCard() {
		
	}

	def showCard() {
		
	}
}
